package cate.game.activity.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBActivity;
import easy.java.dev.note.NoteField;

import java.util.ArrayList;
import java.util.List;


@ClientMsg(title = "活动关闭 の 更新")
public class ActivityCloseUpdate implements MsgOutput {

    @NoteField("关闭活动 の 功能id")
    public List<Integer> funcIds = new ArrayList<>();

    public ActivityCloseUpdate() {
    }

    public ActivityCloseUpdate(List<Integer> funcIds) {
        this.funcIds = funcIds;
    }

    public void add(Integer funcId) {
        funcIds.add(funcId);
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBActivity.CLOSE_UPDATE;
    }
}
